import request from '@/utils/request'
// import { Base64 } from 'js-base64'

// const queryString = require('querystring')
// const client_id = 'dic_manager_api_client_id'
// const client_secret = '123456'

export function register(data) {
  return request({
    url: 'middleuser/register/user',
    method: 'post',
    data
  })
}


/**
 * 实时验证验证码
 * @param data
 */
export function checkMoibleCode(data) {
  return request({
    url: 'middleuser/register/checkMoibleCode',
    method: 'post',
    data
  })
}
